package com.sinooceangroup.capital.sentinel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Alibaba Sentinel Demo Application
 *
 * @author: Leo.Wang, adwyxx@qq.com
 * @date: 2020/8/5 9:56
 */
@EnableFeignClients //开启FeignClient支持
@EnableCircuitBreaker //开启熔断支持
@EnableDiscoveryClient
@SpringBootApplication
public class SentinelApplication {
    public static void main(String[] args) {
        SpringApplication.run(SentinelApplication.class,args);
    }
}
